package com.zzl.java8.lambda5;

import lombok.Data;

/**
 * Description：UserBean
 * Created by 朱正磊 on 2019/3/11 0011 下午 1:26
 */
//@Component
@Data
public class User {

    //年龄
    private Integer age;

    //名字
    private String name;

    public User(Integer age, String name) {
        this.age = age;
        this.name = name;
    }

}
